﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DingTalk.Models
{
    public class DingFileInfoModel
    {
        public Dentry dentry { get; set; }
    }
    public class Properties
    {
        /// <summary>
        /// 
        /// </summary>
        public string @readOnly { get; set; }
    }

    public class AppPropertiesItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string value { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string visibility { get; set; }
    }

    public class Thumbnail
    {
        /// <summary>
        /// 
        /// </summary>
        public int width { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int height { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string url { get; set; }
    }

    public class Dentry
    {
        /// <summary>
        /// 
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string spaceId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string parentId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int size { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string path { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int version { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string extension { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string creatorId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string modifierId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string createTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string modifiedTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Properties properties { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Dictionary<string, List<AppPropertiesItem>> appProperties { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string uuid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string partitionType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string storageDriver { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Thumbnail thumbnail { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string category { get; set; }
    }

}
